package com.yong.mestock.mapper;

import com.yong.mestock.entity.StockInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface StockInfoMapper {

    @Insert("insert into stockinfoeveryday(TOTALVALUE,PB,CODE,MAINBUSINESS,ROE,BVPS,INDUSTRY,TYPE,PED,PES,INFODATE) " +
            "(select '${TOTALVALUE}','${PB}'," +
            "'${CODE}','${MAINBUSINESS}','${ROE}'," +
            "'${BVPS}','${INDUSTRY}'," +
            "'${TYPE}','${PED}','${PES}','${INFODATE}' from dual)")
    int insertStockInfo(StockInfo stockInfo) ;
}
